package reflect;

import reflect.annotations.AutoRunClass;

public class ReflectDemo10 {
    public static void main(String[] args) throws Exception {
        Class cls=Class.forName("reflect.Person");
        boolean mark=cls.isAnnotationPresent(AutoRunClass.class);
        System.out.println(mark?"有被标注":"没有被标注");
    }
}
